home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1996 #15 / Monster Media Number 15 (Monster Media)(July 1996).ISO / modem / tspfon30.zip / TRANSFER.TXT < prev    next >
Text File  |  1988-12-27  |  16KB  |  273 lines

  1. From:    Timo Salmi                               
  2. To:      All                                      Msg #598, 18-Oct-88 09:09am
  3. Subject: Procomm Plus Problems
  4.  
  5.    I have seen some Procomm Plus questions repeatedly being asked in
  6. the bulletin boards.  1) How to use Zmodem with Procomm Plus. 2) How
  7. to get the Scandinavian characters working.  3) How to transfer
  8. files between two PC's (when neither is a bulletin board).
  9.    I think that I have some sort of solutions to these problems, and
  10. what I intend to do is to put the solutions in my TSPFONxx.ARC
  11. collection beginning from the forthcoming version 2.0. Thus
  12. TSPFON20.ARC will include these files, while the current version
  13. TSPFON19.ARC doesn't yet include them.
  14.  
  15.    Stay tuned, Timo
  16.  
  17. ---
  18.  * Origin: Micro Maniacs OPUS  (Opus 2:515/1)
  19.  
  20.  
  21. TRANSFER.TXT 27-Dec-88
  22.  
  23. For using Zmodem with Procomm Plus see the batch files ZMOD-D.BAT, ZMOD-U.BAT,
  24. ZMODEM-D.BAT, ZMODEM-U.BAT and TSPFON.INF.
  25.  
  26. For using the Scandinavian characters see the batch files PCAT.BAT and PC.BAT.
  27.  
  28. This textfile, transfer.txt, addresses itself to the question of transfering
  29. data between two PCs, when neither is a bulletin board. (For the transfer of
  30. ascii data between a PC and a home computer see a separate text SENDFILE.LIS
  31. in my SENDFILE.ARC.)
  32.  
  33. Two different kind of situations arise in the data transfer between PCs.
  34.   a) When the PCs can be connected directly ("are in the same room").
  35.   b) The connection is through a modem.
  36.  
  37. Both the cases can be tackled by using the Procomm Plus host mode. In the
  38. direct connection the easiest procedure is, however, the following, which
  39. I have succesfully used between my laptop and a desktop, in both directions.
  40.  
  41. =============================================================================
  42.                             P A R T  1
  43. =============================================================================
  44.  
  45. 1) Connect the two PCs with a proper cable. If both the machines have 25 pin
  46. serial (COM) ports, a modem cable may well do. If you have an internal (card)
  47. modem, do not use its port, but a free serial port.
  48.  
  49. 2) Call PCPLUS on both the machines.
  50.  
  51. 3) Invoke the Line/Port Setup menu by Alt-P and set the same baud rates,
  52. parities, data bits, and stop bits (see below) on both the machines. The port
  53. assignments may differ from COM1 and each other. Depending on the machines
  54. you may have to lower the speed (or you might even increase it).
  55.  
  56.       ╔═════════════════════════════════════════════════════════╗
  57.       ║            CURRENT SETTINGS: 19200,N,8,1,COM1           ║
  58.       ╠═════════════════════════════════════════════════════════╣
  59.       ║                                                         ║
  60.       ║ BAUD RATE   PARITY     DATA BITS   STOP BITS   PORT     ║
  61.       ║                                                         ║
  62.       ║ 1)    300   N) NONE    Alt-7) 7    Alt-1) 1    F1) COM1 ║
  63.       ║ 2)   1200   E) EVEN    Alt-8) 8    Alt-2) 2    F2) COM2 ║
  64.       ║ 3)   2400   O) ODD                             F3) COM3 ║
  65.       ║ 4)   4800   M) MARK                            F4) COM4 ║
  66.       ║ 5)   9600   S) SPACE                           F5) COM5 ║
  67.       ║ 6)  19200                                      F6) COM6 ║
  68.       ║ 7)  38400                                      F7) COM7 ║
  69.       ║ 8)  57600   Alt-N) N/8/1                       F8) COM8 ║
  70.       ║ 9) 115200   Alt-E) E/7/1                                ║
  71.       ║                                                         ║
  72.       ║ Esc) Exit   Alt-S) Save and Exit  YOUR CHOICE:          ║
  73.       ╚═════════════════════════════════════════════════════════╝
  74.  
  75. 4) First on the RECEIVING PC invoke downloading by pressing the PageDown key.
  76. Select a protocol. XMODEM is a safe choice here. Give a suitable name to the
  77. file to be received.
  78.  
  79.   ╔══╡ Download Protocols - 100736 bytes free ╞════════════════════════════╗
  80.   ║                                                                        ║
  81.   ║ 1) XMODEM        5) TELINK         9) WXMODEM       13) YMODEM-G BATCH ║
  82.   ║ 2) KERMIT        6) MODEM7        10) IMODEM        14) ZMODEM-D       ║
  83.   ║ 3) YMODEM        7) SEALINK       11) YMODEM-G      15) ZMOD-D         ║
  84.   ║ 4) ASCII         8) COMPUSERVE B  12) YMODEM BATCH  16) EXTERN 3       ║
  85.   ║                                                                        ║
  86.   ║ Your Selection: 1   (or press ENTER for XMODEM)                        ║
  87.   ╚════════════════════════════════════════════════════════════════════════╝
  88.  
  89.      ╔═══╡ Receive XMODEM ╞════════════════════════════════════════════════╗ 
  90.      ║                                                                     ║ 
  91.      ║ Please enter filename: d:\testfile.txt                              ║ 
  92.      ║                                                                     ║ 
  93.      ╚═════════════════════════════════════════════════════════════════════╝ 
  94.                                              ╔══════════════════════════════╗
  95.                                              ║      PROTOCOL: XMODEM        ║
  96.                                              ║     FILE NAME: testfile.txt  ║
  97.                                              ║     FILE SIZE:               ║
  98.                                              ║   BLOCK CHECK:               ║
  99.                                              ║  TOTAL BLOCKS:               ║
  100.                                              ║ TRANSFER TIME:               ║
  101.                                              ║   TRANSMITTED:               ║
  102.                                              ║    BYTE COUNT:               ║
  103.                                              ║   BLOCK COUNT:               ║
  104.                                              ║   ERROR COUNT:               ║
  105.                                              ║  LAST MESSAGE:               ║
  106.                                              ║      PROGRESS: ▒▒▒▒▒▒▒▒▒▒▒▒▒ ║
  107.                                              ╚══════════════════════════════╝
  108.  
  109. 5) Now on the SENDING PC invoke uploading by pressing the PageUp key. Select
  110. the same protocol as in the receiving PC. Give the name of the file to be
  111. sent.
  112.  
  113.   ╔══╡ Upload Protocols ╞══════════════════════════════════════════════════╗
  114.   ║                                                                        ║
  115.   ║ 1) XMODEM        5) TELINK         9) WXMODEM       13) YMODEM-G BATCH ║
  116.   ║ 2) KERMIT        6) MODEM7        10) IMODEM        14) ZMODEM-U       ║
  117.   ║ 3) YMODEM        7) SEALINK       11) YMODEM-G      15) ZMOD-D         ║
  118.   ║ 4) ASCII         8) COMPUSERVE B  12) YMODEM BATCH  16) EXTERN 3       ║
  119.   ║                                                                        ║
  120.   ║ Your Selection: 1   (or press ENTER for XMODEM)                        ║
  121.   ╚════════════════════════════════════════════════════════════════════════╝
  122.                                                                             
  123.      ╔═══╡ Send XMODEM ╞═══════════════════════════════════════════════════╗
  124.      ║                                                                     ║
  125.      ║ Please enter filename: b:\paslib2\datefn.pa                         ║
  126.      ║                                                                     ║
  127.      ╚═════════════════════════════════════════════════════════════════════╝
  128.                                                                             
  129.                                              ╔══════════════════════════════╗ 
  130.                                              ║      PROTOCOL: XMODEM        ║ 
  131.                                              ║     FILE NAME: datefn.pa     ║ 
  132.                                              ║     FILE SIZE: 883           ║ 
  133.                                              ║   BLOCK CHECK:               ║ 
  134.                                              ║  TOTAL BLOCKS: 7             ║ 
  135.                                              ║ TRANSFER TIME: 00:01         ║ 
  136.                                              ║   TRANSMITTED:               ║ 
  137.                                              ║    BYTE COUNT:               ║ 
  138.                                              ║   BLOCK COUNT:               ║ 
  139.                                              ║   ERROR COUNT:               ║ 
  140.                                              ║  LAST MESSAGE:               ║ 
  141.                                              ║      PROGRESS: ▒▒▒▒▒▒▒▒▒▒▒▒▒ ║ 
  142.                                              ╚══════════════════════════════╝ 
  143.  
  144. This is all there is to it in the direct file transfer!
  145.  
  146. =============================================================================
  147.                             P A R T  2
  148. =============================================================================
  149.  
  150.  
  151. Now let us look at the transfer using a modem when the PCs are at different
  152. locations. Of course, if you have second phones to coordinate things with, at
  153. least in theory, you could use the same method as in the direct transfer.
  154.  
  155. To begin with you must set your modem options, and your Procomm options,
  156. appropriately in order to act a host. I shall concentrate on the role of the
  157. host, because the role of the calling user is exactly the same as in using a
  158. normal bulletin board. In fact, Procomm Host Mode IS (albeit a limited)
  159. bulletin board.
  160.  
  161. *************************************************************************
  162. * Hence, there are two parties to the file transfers. The HOST who sets *
  163. * up the system, and the USER who shall call the host's machine, and    *
  164. * perform the transferring by downloading or uploading.                 *
  165. *************************************************************************
  166.  
  167. 1) I have a Nokia VB312 300/1200 modem, and I set it as follows in order to
  168. act as the host. The dips are in the factory settings with the following two
  169. exceptions. Dip A2 OFF imposing the 1200 bit/s mode. Dip A7 OFF so that the
  170. circuits 107 DSR and 109 DCD (whatever they are!?) follow the carrier.
  171.  
  172. 2) Next you must set your Procomm options. The most important are given below.
  173. They are found in the setup menu invoked by Alt-S in Procomm Plus. Study them
  174. carefully.
  175.  
  176. ╔════════════════════════════════════════════════════════════════════════════╗
  177. ║ PROCOMM PLUS SETUP UTILITY                                   MODEM OPTIONS ║
  178. ╟────────────────────────────────────────────────────────────────────────────╢
  179. ║ A- Initialization command ..                                               ║
  180. ║ B- Dialing command ......... ATDT                                          ║
  181. ║ C- Dialing command suffix .. ^M                                            ║
  182. ║ D- Hangup command .......... ~~~+++~~~ATH0^M                               ║
  183. ║ E- Auto answer command .....                                               ║
  184. ║ F- Wait for connection ..... 35  seconds                                   ║
  185. ║ G- Pause between calls ..... 4   seconds                                   ║
  186. ║ H- Auto baud detect ........ ON                                            ║
  187. ║ I- Drop DTR to hangup ...... YES                                           ║
  188. ║ J- Send init if CD high .... YES                                           ║
  189. ╟────────────────────────────────────────────────────────────────────────────╢
  190. ║ Alt-Z: Help │     Press the letter of the option to change:    │ Esc: Exit ║
  191. ╚════════════════════════════════════════════════════════════════════════════╝
  192. ╔════════════════════════════════════════════════════════════════════════════╗
  193. ║ PROCOMM PLUS SETUP UTILITY                                TERMINAL OPTIONS ║
  194. ╟────────────────────────────────────────────────────────────────────────────╢
  195. ║ A- Terminal emulation ................ ANSI                                ║
  196. ║ B- Duplex ............................ FULL                                ║
  197. ║ C- Software flow control (XON/XOFF) .. ON                                  ║
  198. ║ D- Hardware flow control (RTS/CTS) ... OFF                                 ║
  199. ║ E- Line wrap ......................... ON                                  ║
  200. ║ F- Screen scroll ..................... ON                                  ║
  201. ║ G- CR translation .................... CR                                  ║
  202. ║ H- BS translation .................... DESTRUCTIVE                         ║
  203. ║ I- Break length (milliseconds) ....... 350                                 ║
  204. ║ J- Enquiry (ENQ) ..................... OFF                                 ║
  205. ╟────────────────────────────────────────────────────────────────────────────╢
  206. ║ Alt-Z: Help │     Press the letter of the option to change:    │ Esc: Exit ║
  207. ╚════════════════════════════════════════════════════════════════════════════╝
  208. ╔════════════════════════════════════════════════════════════════════════════╗
  209. ║ PROCOMM PLUS SETUP UTILITY                               HOST MODE OPTIONS ║
  210. ╟────────────────────────────────────────────────────────────────────────────╢
  211. ║ A- Welcome message ... Welcome to PROCOMM PLUS Host!                       ║
  212. ║ B- System type ....... OPEN                                                ║
  213. ║ C- Auto baud detect .. ON                                                  ║
  214. ║ D- Connection type ... MODEM                                               ║
  215. ║ E- Upload directory                                                        ║
  216. ║    D:\                                                                     ║
  217. ║ F- Download directory                                                      ║
  218. ║    D:\                                                                     ║
  219. ╟────────────────────────────────────────────────────────────────────────────╢
  220. ║ Alt-Z: Help │     Press the letter of the option to change:    │ Esc: Exit ║
  221. ╚════════════════════════════════════════════════════════════════════════════╝
  222.  
  223. 3) Next you have to set your modem into the autoanswer mode. This can be done
  224. manually in most modems, but I use the following script file. (Script files
  225. are executed from Alt-F5 in Procomm Plus.) Also see the separate script file
  226. HOSTMODE.ASP developed from the script below.
  227.  
  228.    ;
  229.    ; HOSTINI2.ASP by Timo Salmi
  230.    ;
  231.  
  232.    TRACE ON
  233.    SET BACKSPACE DEST      ;These may by superfluous if you
  234.    SET TRANSLATE ON        ; have not altered them from your
  235.    EMULATE ANSI            ; defaults
  236.    TRACE OFF
  237.  
  238.    PAUSE 1
  239.    TRANSMIT "AT^M"         ;Wake up the modem
  240.  
  241.    PAUSE 1
  242.    TRANSMIT "ATZ^M"        ;Initialize the modem
  243.  
  244.    PAUSE 1
  245.    TRANSMIT "ATS0=1^M"     ;Set autoanswer on
  246.    WAITFOR "OK"  5
  247.    IF NOT WAITFOR
  248.      ALARM 1
  249.      MESSAGE "Failed to set autoanswer on"
  250.      GOTO OUT              ;Superfluous when the test is the last
  251.    ENDIF                   ; as it is here
  252.  
  253.    OUT:
  254.  
  255. 4) Copy all the files you want to be available for the USER to the directory
  256. D:\ which was set as the download directory in the host mode options menu
  257. option F-.
  258.  
  259. 5) Invoke the host mode by pressing alt-Q, and wait for the USER to call.
  260.  
  261. 6) From now on it is mostly up to the user. When he/she has called, and logged
  262. in, he can download the files from D:\ or upload files there in accordance
  263. with the options presented by Procomm Plus host mode. At the same time you see
  264. (in a small scale) what being a SysOp entails.
  265.  
  266. If your user cannot get a connection (which is very usual until the HOST has
  267. learned the ropes) look carefully through your settings again starting from
  268. your modem. I can assure that once you get it right, the system works. I have
  269. tested and used it succesfully many times myself.
  270.  
  271. For more information on the host mode see Procomm Plus manual.
  272. Procomm Plus is a trademark of Datastorm Technologies Inc.
  273.